using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YayiMgr.Ability.Docking.DictionaryApp.Dto;
using Youshow.Ace.Ability.Services;

namespace YayiMgr.Ability.Docking.DictionaryApp
{
    public interface IDictionaryItemServicer:IAbilityServicer
    {
        Task<List<DictionaryItemDto>> GetAllDictionaryItems();

        Task<DictionaryItemDto> GetAllDictionaryItemsById(Guid Id);

        Task<DictionaryItemDto> AddDictionaryItem(DictionaryItemCreateDto dto);

        Task<DictionaryItemDto> UpdateDictionaryItem(Guid Id, DictionaryItemUpdateDto dto);

        Task DeleteDictionaryItem(Guid Id);
    }
}